package com.dupengcheng.subject.application.convert;

import com.dupengcheng.subject.application.dto.SubjectLabelDTO;
import com.dupengcheng.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDTOConvert {
    
    
    SubjectLabelDTOConvert INSTANCE = Mappers.getMapper(SubjectLabelDTOConvert.class);

    SubjectLabelBO convertDTOtoBO(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> convertBOtoDTOList(List<SubjectLabelBO> subjectLabelBOS);
}
